package com.platform.service;

import com.platform.client.ControlServiceClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * Created by wyt on 2018/6/29.
 */
@Service
public class TestFeignService {

//    @Qualifier("controlServiceHystrix")
    @Autowired
    ControlServiceClient client;
    public Object testcontrol(){
        return client.test();
    }
}
